package com.mystore.action;

public class LoginAction {
    private String cardno;
    private String password;

    public LoginAction() {
    }


    public LoginAction(String cardno, String password) {
        this.cardno = cardno;
        this.password = password;
    }

    public String getCardno() {
        return cardno;
    }

    public void setCardno(String cardno) {
        this.cardno = cardno;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String execute(){
        System.out.println("cardno="+cardno);
        System.out.println("password="+password);
        return "success";
    }
}
